package com.example.lotterysystem.service;

import com.example.lotterysystem.controller.param.PageParam;
import com.example.lotterysystem.controller.param.PrizeCreateParam;
import com.example.lotterysystem.service.dto.PageListDTO;
import com.example.lotterysystem.service.dto.PrizeDTO;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

public interface PrizeService {

    /**
     * 创建奖品
     * @param prizeCreateParam 奖品属性
     * @param file 奖品图片
     * @return
     */
    Long prizeCreate(PrizeCreateParam prizeCreateParam, MultipartFile file);

    /**
     *
     */
    PageListDTO<PrizeDTO>findPrizeList(PageParam param);

}
